﻿using System;

namespace DotNetImage.Imaging.Filters
{
    public class EmbossLaplacianFilter : Conv3x3
    {
        protected override void PrepareData(DotNetImage bmp)
        {
            ConvolutionMatrix m = new ConvolutionMatrix();
            m.SetAll(-1);
            m.TopMid = m.MidLeft = m.MidRight = m.BottomMid = 0;
            m.Pixel = 4;
            m.Offset = 127;
            base.ConvMatrix = m;
            base.PrepareData(bmp);
        }
    }
}
